/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * TelaPerfilPaciente.java
 *
 * Created on 04/12/2011, 14:48:13
 */

package br.uff.ihc.gui;

import br.uff.ihc.bd.entidades.Paciente;
import java.awt.Dimension;
import java.awt.Insets;
import java.awt.Toolkit;


import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import javax.swing.UnsupportedLookAndFeelException;


/**
 *
 * @author Adrielle
 */
public class TelaPerfilPaciente extends javax.swing.JFrame {
    Paciente p;

    /** Creates new form TelaPerfilPaciente */
    
    public TelaPerfilPaciente(String nome) {
        initComponents();
        Insets in = Toolkit.getDefaultToolkit().getScreenInsets(this.getGraphicsConfiguration());
        Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
        int width = d.width - (in.left + in.top);
        int height = d.height - (in.top + in.bottom);
        setSize(width, height);
        setLocation(in.left, in.top);
        setExtendedState(TelaPerfilPaciente.MAXIMIZED_BOTH);

        lbMsgAviso.setVisible(false);
        lbAviso.setVisible(false);
        lbMsgDigital.setVisible(true);
        lbDigital.setVisible(true);

        lbNomeUsuario.setText(nome);

        try {
            for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (UnsupportedLookAndFeelException e) {
        } catch (ClassNotFoundException e) {
            // handle exception
        } catch (InstantiationException e) {
            // handle exception
        } catch (IllegalAccessException e) {
            // handle exception
        }
    }


    public void preencheDadosPaciente(Paciente p){
    txNome.setText(p.getNome());
    txCPF.setText(p.getCpf());
    txRG.setText(p.getRg());
    dtDataNascimento.setDate(p.getDataNascimento());
    txCSC.setText(p.getNumeroCartaoSaude());
    txRua.setText(p.getEndereco().getRua());
    txNumero.setText(p.getEndereco().getNumero());
    txComplemento.setText(p.getEndereco().getComplemento());
    txBairro.setText(p.getEndereco().getBairro());
    txCEP.setText(p.getEndereco().getCep());
    cbEstado.setSelectedIndex(0);
    cbCidade.setSelectedIndex(0);
        

    }


    public void setPaciente(Paciente p){
    txNome.setText(p.getNome());
    txCPF.setText(p.getCpf());
    txRG.setText(p.getRg());
    dtDataNascimento.setDate(p.getDataNascimento());
    txCSC.setText(p.getNumeroCartaoSaude());

    txRua.setText(p.getEndereco().getRua());
    txNumero.setText(p.getEndereco().getNumero());
    txComplemento.setText(p.getEndereco().getComplemento());
    txBairro.setText(p.getEndereco().getBairro());
    txCEP.setText(p.getEndereco().getCep());
    cbEstado.setSelectedIndex(0);
    cbCidade.setSelectedIndex(0);




    }


    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel5 = new javax.swing.JPanel();
        lbRotuloUsuario = new javax.swing.JLabel();
        lbNomeUsuario = new javax.swing.JLabel();
        lbData = new javax.swing.JLabel();
        pnPrincipal = new javax.swing.JPanel();
        pnNovoPaciente = new javax.swing.JPanel();
        lbCPF = new javax.swing.JLabel();
        lbNome = new javax.swing.JLabel();
        lbCSC = new javax.swing.JLabel();
        lbRG = new javax.swing.JLabel();
        lnNumero = new javax.swing.JLabel();
        lbRua = new javax.swing.JLabel();
        lbComplemento = new javax.swing.JLabel();
        lbBairro = new javax.swing.JLabel();
        lbCidade = new javax.swing.JLabel();
        lbCEP = new javax.swing.JLabel();
        lbEstado = new javax.swing.JLabel();
        lbEndereco = new javax.swing.JLabel();
        txRua = new javax.swing.JTextField();
        txNumero = new javax.swing.JTextField();
        txBairro = new javax.swing.JTextField();
        txComplemento = new javax.swing.JTextField();
        txCEP = new javax.swing.JTextField();
        cbCidade = new javax.swing.JComboBox();
        cbEstado = new javax.swing.JComboBox();
        txNome = new javax.swing.JTextField();
        txCSC = new javax.swing.JTextField();
        txCPF = new javax.swing.JTextField();
        txRG = new javax.swing.JTextField();
        btCadastrarDigital = new javax.swing.JButton();
        lbDataNascimento = new javax.swing.JLabel();
        lbDadosPessoais1 = new javax.swing.JLabel();
        lbImpressaoDigital = new javax.swing.JLabel();
        lbDigital = new javax.swing.JLabel();
        lbAviso = new javax.swing.JLabel();
        lbMsgAviso = new javax.swing.JLabel();
        lbMsgDigital = new javax.swing.JLabel();
        dtDataNascimento = new com.toedter.calendar.JDateChooser();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Perfil do Paciente");

        jPanel5.setBackground(new java.awt.Color(47, 120, 47));

        lbRotuloUsuario.setFont(new java.awt.Font("Lucida Sans Typewriter", 1, 13));
        lbRotuloUsuario.setForeground(new java.awt.Color(255, 255, 255));
        lbRotuloUsuario.setText("Usuário:");

        lbNomeUsuario.setFont(new java.awt.Font("Lucida Sans Typewriter", 0, 13));
        lbNomeUsuario.setForeground(new java.awt.Color(255, 255, 255));
        lbNomeUsuario.setText("João Victor");

        lbData.setFont(new java.awt.Font("Lucida Sans Typewriter", 0, 13));
        lbData.setForeground(new java.awt.Color(255, 255, 255));
        lbData.setText("Quarta, 7 de dezembro de 2011 10:30h");

        pnPrincipal.setBackground(new java.awt.Color(255, 255, 255));
        pnPrincipal.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 51, 0), 1, true));
        pnPrincipal.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnNovoPaciente.setBackground(new java.awt.Color(255, 255, 255));
        pnNovoPaciente.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 51, 0), 1, true));
        pnNovoPaciente.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        lbCPF.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbCPF.setText("CPF:");
        pnNovoPaciente.add(lbCPF, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 90, 60, -1));

        lbNome.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbNome.setText("Nome:");
        pnNovoPaciente.add(lbNome, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 50, 60, -1));

        lbCSC.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbCSC.setText("Cartão de Saúde do Cidadão:");
        pnNovoPaciente.add(lbCSC, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 170, 258, -1));

        lbRG.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbRG.setText("RG:");
        pnNovoPaciente.add(lbRG, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 90, 70, -1));

        lnNumero.setFont(new java.awt.Font("Papyrus", 1, 16));
        lnNumero.setText("Número:");
        pnNovoPaciente.add(lnNumero, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 300, 75, -1));

        lbRua.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbRua.setText("Rua:");
        pnNovoPaciente.add(lbRua, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 260, 60, -1));

        lbComplemento.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbComplemento.setText("Complemento:");
        pnNovoPaciente.add(lbComplemento, new org.netbeans.lib.awtextra.AbsoluteConstraints(470, 300, 132, -1));

        lbBairro.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbBairro.setText("Bairro:");
        pnNovoPaciente.add(lbBairro, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 340, 70, -1));

        lbCidade.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbCidade.setText("Cidade:");
        pnNovoPaciente.add(lbCidade, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 380, 70, -1));

        lbCEP.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbCEP.setText("CEP:");
        pnNovoPaciente.add(lbCEP, new org.netbeans.lib.awtextra.AbsoluteConstraints(540, 340, 60, -1));

        lbEstado.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbEstado.setText("Estado:");
        pnNovoPaciente.add(lbEstado, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 380, 132, -1));

        lbEndereco.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Endereço", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Papyrus", 0, 11), new java.awt.Color(0, 51, 0))); // NOI18N
        pnNovoPaciente.add(lbEndereco, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 220, 750, 200));

        txRua.setEditable(false);
        txRua.setFont(new java.awt.Font("DejaVu Sans", 0, 13)); // NOI18N
        pnNovoPaciente.add(txRua, new org.netbeans.lib.awtextra.AbsoluteConstraints(210, 260, 580, -1));

        txNumero.setEditable(false);
        txNumero.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        pnNovoPaciente.add(txNumero, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 300, 210, -1));

        txBairro.setEditable(false);
        txBairro.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        pnNovoPaciente.add(txBairro, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 340, 290, -1));

        txComplemento.setEditable(false);
        txComplemento.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        pnNovoPaciente.add(txComplemento, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 300, 190, -1));

        txCEP.setEditable(false);
        txCEP.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        pnNovoPaciente.add(txCEP, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 340, 190, -1));

        cbCidade.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        cbCidade.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Niterói", "Rio de Janeiro" }));
        pnNovoPaciente.add(cbCidade, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 380, 310, -1));

        cbEstado.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        cbEstado.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Rio de Janeiro" }));
        pnNovoPaciente.add(cbEstado, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 380, 140, -1));

        txNome.setEditable(false);
        txNome.setFont(new java.awt.Font("DejaVu Sans", 0, 13)); // NOI18N
        pnNovoPaciente.add(txNome, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 50, 580, -1));

        txCSC.setEditable(false);
        txCSC.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        pnNovoPaciente.add(txCSC, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 170, 220, -1));

        txCPF.setEditable(false);
        txCPF.setFont(new java.awt.Font("DejaVu Sans", 0, 13)); // NOI18N
        pnNovoPaciente.add(txCPF, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 90, 210, -1));

        txRG.setEditable(false);
        txRG.setFont(new java.awt.Font("DejaVu Sans", 0, 13));
        pnNovoPaciente.add(txRG, new org.netbeans.lib.awtextra.AbsoluteConstraints(550, 90, 190, -1));

        btCadastrarDigital.setFont(new java.awt.Font("Tahoma", 0, 12));
        btCadastrarDigital.setText("Cadastrar Digital");
        btCadastrarDigital.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btCadastrarDigitalActionPerformed(evt);
            }
        });
        pnNovoPaciente.add(btCadastrarDigital, new org.netbeans.lib.awtextra.AbsoluteConstraints(870, 210, 190, 40));

        lbDataNascimento.setFont(new java.awt.Font("Papyrus", 1, 16));
        lbDataNascimento.setText("Data de Nascimento:");
        pnNovoPaciente.add(lbDataNascimento, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 130, 170, -1));

        lbDadosPessoais1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Dados Pessoais", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Papyrus", 0, 11), new java.awt.Color(0, 51, 0))); // NOI18N
        pnNovoPaciente.add(lbDadosPessoais1, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 10, 750, 200));

        lbImpressaoDigital.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Impressão Digital", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Papyrus", 0, 11), new java.awt.Color(0, 51, 0))); // NOI18N
        pnNovoPaciente.add(lbImpressaoDigital, new org.netbeans.lib.awtextra.AbsoluteConstraints(870, 20, 190, 180));

        lbDigital.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/uff/ihc/gui/imagens/digital.png"))); // NOI18N
        pnNovoPaciente.add(lbDigital, new org.netbeans.lib.awtextra.AbsoluteConstraints(950, 80, 40, 40));

        lbAviso.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/uff/ihc/gui/imagens/aviso.png"))); // NOI18N
        pnNovoPaciente.add(lbAviso, new org.netbeans.lib.awtextra.AbsoluteConstraints(950, 80, 40, 40));

        lbMsgAviso.setText("Não há digital cadastrada.");
        pnNovoPaciente.add(lbMsgAviso, new org.netbeans.lib.awtextra.AbsoluteConstraints(890, 130, 160, -1));

        lbMsgDigital.setText("Digital cadastrada.");
        pnNovoPaciente.add(lbMsgDigital, new org.netbeans.lib.awtextra.AbsoluteConstraints(920, 130, -1, -1));
        pnNovoPaciente.add(dtDataNascimento, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 130, 130, -1));

        jButton1.setBackground(new java.awt.Color(255, 255, 255));
        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/uff/ihc/gui/imagens/historico.png"))); // NOI18N
        jButton1.setPreferredSize(new java.awt.Dimension(165, 121));
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });
        pnNovoPaciente.add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 440, 140, 130));

        jButton2.setBackground(new java.awt.Color(255, 255, 255));
        jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/uff/ihc/gui/imagens/consultas.png"))); // NOI18N
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });
        pnNovoPaciente.add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 440, 140, 130));

        jButton3.setBackground(new java.awt.Color(255, 255, 255));
        jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/br/uff/ihc/gui/imagens/exames.png"))); // NOI18N
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });
        pnNovoPaciente.add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 440, 140, 130));

        pnPrincipal.add(pnNovoPaciente, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 20, 1180, 600));

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lbRotuloUsuario)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(lbNomeUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 320, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 609, Short.MAX_VALUE)
                .addComponent(lbData, javax.swing.GroupLayout.PREFERRED_SIZE, 320, javax.swing.GroupLayout.PREFERRED_SIZE))
            .addComponent(pnPrincipal, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 1329, Short.MAX_VALUE)
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup()
                .addContainerGap(18, Short.MAX_VALUE)
                .addComponent(pnPrincipal, javax.swing.GroupLayout.PREFERRED_SIZE, 649, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbRotuloUsuario)
                    .addComponent(lbNomeUsuario)
                    .addComponent(lbData))
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btCadastrarDigitalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btCadastrarDigitalActionPerformed
        Leitura ld = new Leitura();
        // ld.setUndecorated(true);
        ld.setVisible(true);
        //wait
        lbMsgAviso.setVisible(false);
        lbAviso.setVisible(false);
        lbMsgDigital.setVisible(true);
        lbDigital.setVisible(true);
        // ld.setVisible(false);
}//GEN-LAST:event_btCadastrarDigitalActionPerformed

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
       new ResultadoConsultaExames(lbNomeUsuario.getText()).setVisible(true);

    }//GEN-LAST:event_jButton3ActionPerformed

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        new ResultadoConsultaConsultas(lbNomeUsuario.getText()).setVisible(true);
    }//GEN-LAST:event_jButton2ActionPerformed

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed

        HistoricoPaciente hist = new HistoricoPaciente(lbNomeUsuario.getText());
        hist.setPaciente(txNome.getText());
        hist.setVisible(true);

    }//GEN-LAST:event_jButton1ActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new TelaPerfilPaciente("").setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btCadastrarDigital;
    private javax.swing.JComboBox cbCidade;
    private javax.swing.JComboBox cbEstado;
    private com.toedter.calendar.JDateChooser dtDataNascimento;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JLabel lbAviso;
    private javax.swing.JLabel lbBairro;
    private javax.swing.JLabel lbCEP;
    private javax.swing.JLabel lbCPF;
    private javax.swing.JLabel lbCSC;
    private javax.swing.JLabel lbCidade;
    private javax.swing.JLabel lbComplemento;
    private javax.swing.JLabel lbDadosPessoais1;
    private javax.swing.JLabel lbData;
    private javax.swing.JLabel lbDataNascimento;
    private javax.swing.JLabel lbDigital;
    private javax.swing.JLabel lbEndereco;
    private javax.swing.JLabel lbEstado;
    private javax.swing.JLabel lbImpressaoDigital;
    private javax.swing.JLabel lbMsgAviso;
    private javax.swing.JLabel lbMsgDigital;
    private javax.swing.JLabel lbNome;
    private javax.swing.JLabel lbNomeUsuario;
    private javax.swing.JLabel lbRG;
    private javax.swing.JLabel lbRotuloUsuario;
    private javax.swing.JLabel lbRua;
    private javax.swing.JLabel lnNumero;
    private javax.swing.JPanel pnNovoPaciente;
    private javax.swing.JPanel pnPrincipal;
    private javax.swing.JTextField txBairro;
    private javax.swing.JTextField txCEP;
    private javax.swing.JTextField txCPF;
    private javax.swing.JTextField txCSC;
    private javax.swing.JTextField txComplemento;
    private javax.swing.JTextField txNome;
    private javax.swing.JTextField txNumero;
    private javax.swing.JTextField txRG;
    private javax.swing.JTextField txRua;
    // End of variables declaration//GEN-END:variables

}
